/*
 * Bool.h
 *
 *  Created on: 27/dic/2010
 *      Author: computer
 */

#ifndef BOOL_H_
#define BOOL_H_
#include "Expression.h"

namespace TreeExpression {

class Bool : public Expression_CRTP<Bool> {
	public:
		Bool(bool);
		Bool(const Bool&);
		~Bool();

		virtual AutoPointer<Expression> eval(CopyPointer<Context>&);

		bool getData() const;
		virtual std::string getHash() const;
		virtual std::string toString() const;

	private:
		bool data;
};

}

using TreeExpression::Bool;

#endif /* BOOL_H_ */
